package com.zjhn.ds.domain.dto.pc;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @BelongsProject: ds_jlw
 * @BelongsPackage: com.zjhn.ds.domain.dto.pc
 * @Author: sxt
 * @CreateTime: 2023-12-16  17:01
 * @Description:
 * @Version: 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PcRunMonitorDto {

    @ApiModelProperty(value = "机台记录id")
    private String stationRecordId;

    @ApiModelProperty(value = "机台id")
    private String stationId;

    @ApiModelProperty(value = "分组id")
    private String groupId;

    @ApiModelProperty(value = "分组名称")
    private String groupName;

    @ApiModelProperty(value = "机台编码")
    private String stationCode;

    @ApiModelProperty("车间")
    private String workshop;

    @ApiModelProperty("生产时间 默认班次时长 分钟")
    private Integer wholeTime;

    @ApiModelProperty("正常运行时间 分钟")
    private Integer runTime;

    @ApiModelProperty("待机时间/空置时间 分钟")
    private Integer idleTime;

    @ApiModelProperty("故障时间 分钟")
    private Integer faultTime;

    @ApiModelProperty("关机时间/断网时间 分钟")
    private Integer stopTime;

    @ApiModelProperty("打样时间 分钟")
    private Integer makeTime;

    @ApiModelProperty("状态 0-关机 1-正常，2-待机，3-故障")
    private Integer status;

    @ApiModelProperty("稼动率")
    private BigDecimal oee;

    @ApiModelProperty("设备编号/设备名称")
    private String equipmentName;

    @ApiModelProperty("当前生产款号")
    private String currentStyleCode;

    @ApiModelProperty("颜色")
    private String colorMain;

    @ApiModelProperty("尺码")
    private String size;

    @ApiModelProperty("报工数")
    private BigDecimal bookJobQty;

    @ApiModelProperty("员工名称")
    private String realName;

    @ApiModelProperty("员工工号")
    private String userNo;
}
